Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

James game class #1071

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

James-Cochran
Copy link

corrected game.rb file to games.rb
changed from a hash to instances of the CSV

James-Cochran and others added 30 commits June 3, 2024 20:05
…_tracker file. Created a spec_helper file to hold SimpleCov. Installed Simplecov Gem.
copied/pasted James code, added README.md project requirements
fixed gitignore
added Team class and spec that turns teams.csv into data objects
…game_spec, and the initialize in the game.rb
…es instead of a hash. rewrote games_spec to correspond to games being instances.
adding game_teams class and spec with test data file
created games_test.csv for easier testing. Passing games_spec test to…
…of home wins, percentage of visitor wins and percentage of ties. Created matching methods for each test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants